import React from "react";

interface Props {
    value : string | number | null;
    onClick(): any

}

export default function Square(props:Props) {
    return (
        <button className="square" onClick={props.onClick}>
            {props.value}
        </button>
    );
}